<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>文章管理</title>
</head>
<body>
<table>
<tr>
<th>标题</th><th>作者</th><th>时间</th><th>分类</th><th>操作</th>
</tr>
<?php if(is_array($article)): $i = 0; $__LIST__ = $article;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
<td><?php echo ($vo["title"]); ?></td><td><?php echo ($vo["author"]); ?></td><td><?php echo ($vo["time"]); ?></td><td><?php echo ($vo["type"]); ?></td><td><a href="/index.php/Admin/Index/deletearticle?id=<?php echo ($vo["id"]); ?>">删除</a></td>
</tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>
</body>
</html>